import request from '@/utils/axios';
import appName from "../appName"

//页面查询
export function selectItemTask(params) {
    return request({
        url: appName.ILMPMAIN + '/aus/selectItem/selectItemTask',
        method: 'post',
        data: params
    })
}

//根据字典编号获取所有的字典项目
export function getCodeDictProject(code) {
    return request({
        url: appName.AUSCONFING + '/aus/dataDict/getCodeDictProject',
        method: 'post',
        params: { code }
    })
}

//子任务强行结束录入
export function closeAiItem(params) {
    return request({
        url: appName.ILMPMAIN + '/aus/selectItem/closeAiItem',
        method: 'post',
        data: params
    })
}

//查看单个录入任务的影像资料
export function selectItemImage(params) {
    return request({
        url: appName.ILMPMAIN + '/aus/selectItem/selectItemImage',
        method: 'post',
        data: params
    })
}
